package com.ny.zmb.glxt.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 * 申请 高级别返利 或 分类代理 的表
 * </p>
 *
 * @author xie
 * @since 2024-10-22
 */
@Data
@TableName("pm_am")
@ApiModel(value = "PmAm对象", description = "申请 高级别返利 或 分类代理 的表")
public class PmAm implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("用户ID")
    private Integer userId;

    @ApiModelProperty("店铺ID")
    private Integer storeId;

    @ApiModelProperty("店铺名称")
    private String storeName;

    @ApiModelProperty("标题")
    private String title;

    @ApiModelProperty("主题内容")
    private String content;

    @ApiModelProperty("此等级需要的业绩")
    private String djyj;

    @ApiModelProperty("创建时间")
    private LocalDateTime createtime;

    @ApiModelProperty("更新时间")
    private LocalDateTime updatetime;

    @ApiModelProperty("删除位")
    private String del;

    @ApiModelProperty("时间周期 开始时间")
    private String zqStart;

    @ApiModelProperty("时间周期 结束时间")
    private LocalDateTime zqEnd;

    @ApiModelProperty("类型分为 1区域 和 2 分类")
    private String lx;

    @ApiModelProperty("类型分为 1、信用等级 2 区域代理 3、云仓代理")
    private String sublx;

    @ApiModelProperty("签名信息")
    private String qm;

    @ApiModelProperty("原来的等级")
    private String yCoinLevel;

    @ApiModelProperty("申请的等级")
    private String sqCoinLevel;

    private String status;

    private String statusRe;

    @Override
    public String toString() {
        return "PmAm{" +
            "id = " + id +
            ", userId = " + userId +
            ", title = " + title +
            ", content = " + content +
            ", djyj = " + djyj +
            ", createtime = " + createtime +
            ", updatetime = " + updatetime +
            ", del = " + del +
            ", zqStart = " + zqStart +
            ", zqEnd = " + zqEnd +
            ", lx = " + lx +
            ", qm = " + qm +
            ", yCoinLevel = " + yCoinLevel +
            ", sqCoinLevel = " + sqCoinLevel +
            ", status = " + status +
            ", statusRe = " + statusRe +
        "}";
    }
}
